package cn.tedu.v1.service;

import cn.tedu.v1.model.DepartmentOffice;
import cn.tedu.v1.vo.ChartVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 部门列表 服务类
 * </p>
 *
 * @author tedu.cn
 * @since 2021-07-06
 */
public interface IDepartmentOfficeService extends IService<DepartmentOffice> {
    List<DepartmentOffice> getDepartmentOffice();

    List<DepartmentOffice> treatmentDepartment();

    List<DepartmentOffice> medicalDepartment();

    Integer deleteDepartmentOffice(Integer id);

    ChartVo getDepartmentCount();

    ChartVo getDepartmentName();

    ChartVo getDepartmentColor();

    int addDepartment(DepartmentOffice departmentOffice);

}
